import {Component, OnInit} from '@angular/core';
import {Router} from '@angular/router';

@Component({
  selector: 'app-user-login',
  templateUrl: './user-login.component.html'
})

export class UserLoginComponent implements OnInit {

  public error: Error;

  constructor(public router: Router) {

  }

  ngOnInit() {

  }

  public doLogin() {
    this.router.navigateByUrl("/home");
  }

}
